package example

import (
	"github.com/flipped-aurora/gin-vue-admin/server/api/v1"
	"github.com/gin-gonic/gin"
)

type DemoRouter struct{}

func (d *DemoRouter) InitDemoRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	demoRouter := Router.Group("demo")
	exaDemoApi := v1.ApiGroupApp.ExampleApiGroup.DemoApi
	{
		demoRouter.GET("getList", exaDemoApi.GetList)
	}
	return demoRouter
}
